<?php


	namespace app\ctrl;


	class indexCtrl extends \core\core
	{
		public function index()
		{
		    $data = "hello world";
		    // 模板赋值
		    $this->assign('data',$data);
		    // 模板渲染
		    $this->display('index.html');


			$model = new \core\lib\model();
		}

		public function submit()
        {
            echo "商品提交";
        }
	}